/*
 * @Author: yx_ning
 * @Description:
 * @File: user
 * @Version: 1.0.0
 * @Date: 22/12/2023 下午3:06
 */
package model

type User struct {
	BaseModel
	NickName string `json:"nick_name" gorm:"column:nickname"`
	UserName string `json:"user_name" gorm:"column:username"`
	Phone    string `json:"phone" gorm:"column:phone"`
}

func (u User) TableName() string {
	return "db_user"
}
